package com.hanrui.android.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hanrui.android.R;
import com.hanrui.android.model.ThreeAreaListBean;

import javax.inject.Inject;

/**
 * Created by Administrator on 2018/2/9.
 */

public class ThreeAreaAdapter extends BaseQuickAdapter<ThreeAreaListBean.ThreeColorListBean,BaseViewHolder> {
    @Inject
    public ThreeAreaAdapter(){
        super(R.layout.item_approve);
    }

    @Override
    protected void convert(BaseViewHolder helper, ThreeAreaListBean.ThreeColorListBean item) {
        helper.setText(R.id.audit_title,item.getTitle())
                .setText(R.id.audit_time,item.getUpdateDate());
    }
}